package com.zhouxiaoge.时间;

import java.time.Instant;
import java.time.temporal.TemporalField;

/**
 * @author 周小哥 gqzmy@163.com 2023/3/10 17:58
 */

public class Main {
    public static void main(String[] args) {
        Instant instant = Instant.now();
        // System.out.println(instant.getEpochSecond());
        // System.out.println(instant.toEpochMilli());
        // System.out.println(System.currentTimeMillis());
    }
}
